
package com.insigma.business.qrcode.soldier.dao;



import com.insigma.business.qrcode.soldier.entity.PlacementWordConfigDO;
import com.insigma.business.qrcode.soldier.request.PlacementWordConfigBSearcher;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface PlacementWordConfigDao {

    
    List<PlacementWordConfigDO> search(final PlacementWordConfigBSearcher innerSearcher);

    
    PlacementWordConfigDO get(final String id);

    
    Integer insert(final PlacementWordConfigDO placementWordConfigDO);

    
    Integer update(final PlacementWordConfigDO placementWordConfigDO);

    
    Integer delete(@Param("id") final String id,
                   @Param("modifierType") final String modifierType,
                   @Param("modifierId") final String modifierId);

    
    List<PlacementWordConfigDO> listByType(String type);

    List<PlacementWordConfigDO> listByTypeAndAuth(@Param("type")String type, @Param("authSet")List<String> authSet);
}
